import math

shimendata = []
# 计算上一级到下一级的所需数据
for i in range(181):
    if 0 <= i <= 30:
        num = int((math.pow(i, 4) / 30 + math.pow(i, 3)) / 5 + i * 20)
        exp = int(num * 4 / 5)
        money = int(num * 3 / 10)
        shimendata.append({"id": i, "num": num, "exp": exp, "money": money})
    elif 31 <= i <= 150:
        num = int((math.pow(i, 4) / 30 + math.pow(i, 3)) / 5 + i * 20)
        exp = int(num * 4 / 5)
        money = int(num * 3 / 10)
        shimendata.append({"id": i, "num": num, "exp": exp, "money": money})
    elif 151 <= i <= 155:
        num = int(((math.pow(i, 4) / 30 + math.pow(i, 3)) / 5 + i * 20) * 2)
        exp = int(num * 4 / 5)
        money = int(num * 3 / 10)
        shimendata.append({"id": i, "num": num, "exp": exp, "money": money})
    elif 156 <= i <= 160:
        num = int(((math.pow(i, 4) / 30 + math.pow(i, 3)) / 5 + i * 20) * 3)
        exp = int(num * 4 / 5)
        money = int(num * 3 / 10)
        shimendata.append({"id": i, "num": num, "exp": exp, "money": money})
    elif 161 <= i <= 170:
        num = int(int((math.pow(i, 3) * int(i / 30 + 1) / 5) + i * 20) * 3)
        exp = int((num / 4 * 5) * 4 / 5)
        money = int(num / 10 * 3)
        shimendata.append({"id": i, "num": num, "exp": exp, "money": money})
    elif 171 <= i <= 175:
        num = int(int((math.pow(i, 3) * int(i / 30 + 1) / 5) + i * 20) * 4)
        exp = int((num / 4 * 5) * 4 / 5)
        money = int(num / 10 * 3)
        shimendata.append({"id": i, "num": num, "exp": exp, "money": money})
    elif 176 <= i <= 180:
        num = int(int((math.pow(i, 3) * int(i / 30 + 1) / 5) + i * 20) * 5)
        exp = int((num / 4 * 5) * 4 / 5)
        money = int(num / 10 * 3)
        shimendata.append({"id": i, "num": num, "exp": exp, "money": money})

# 输出 i = 0-10 的结果
for i in range(11):
    print(shimendata[i])
